#ifdef	__cplusplus
extern "C" {
#endif

#define OSD_SUCCESS             1
#define OSD_FAILURE             0

#define OSD_TRANSPARENCY	0x55
#define MAX_TRANSPARENCY	0x77
#define MIN_TRANSPARENCY	0x11
#define NO_TRANSPARENCY		0x00
#define OSD_NUM_BUFS            2
#define ATTR_NUM_BUFS           2
#define OSD_BITS_PER_PIXEL      16
#define ATTR_PIXELS_PER_BYTE    2

    extern void osd_setTransparency(unsigned char transparency);
    extern int osd_setActual_rgbBuffer(int osd_id);
    extern int osd_setActual_attrBuffer(int osd_id);
    extern int osd_init();
    extern int osd_exit();

#ifdef	__cplusplus
}
#endif
